docs: enum cleanup
authorMatthias Clasen <mclasen@redhat.com>
Tue, 20 May 2014 13:47:44 +0000 (09:47 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 20 May 2014 13:54:01 +0000 (09:54 -0400)
Move GtkExpanderStyle over to the deprecated GtkStyle.

docs/reference/gtk/gtk3-sections.txt
gtk/deprecated/gtkstyle.h
gtk/gtkenums.h

index f8dae6d7b02a56ec581fc754ec0dbf4f53e846dc..558e6d4b0a7742ff2a7ffeff7b587881ab721965 100644 (file)
@@ -6240,6 +6240,7 @@ gtk_gradient_get_type
 GTK_STYLE_ATTACHED
 GtkStyle
 GtkStyleClass
+GtkExpanderStyle
 gtk_style_new
 gtk_style_copy
 gtk_style_attach
@@ -6524,7 +6525,6 @@ gtk_binding_set_add_path
 GtkBaselinePosition
 GtkDeleteType
 GtkDirectionType
-GtkExpanderStyle
 GtkIMPreeditStyle
 GtkIMStatusStyle
 GtkJustification
index 01b8f28da54872519a58e6820165fd416b3c2954..dbe83dfce469849872587cbd67640d585d6941d1 100644 (file)
@@ -51,6 +51,23 @@ typedef struct _GtkStyleClass  GtkStyleClass;
 typedef struct _GtkThemeEngine GtkThemeEngine;
 typedef struct _GtkRcProperty  GtkRcProperty;
 
+/**
+ * GtkExpanderStyle:
+ * @GTK_EXPANDER_COLLAPSED: The style used for a collapsed subtree.
+ * @GTK_EXPANDER_SEMI_COLLAPSED: Intermediate style used during animation.
+ * @GTK_EXPANDER_SEMI_EXPANDED: Intermediate style used during animation.
+ * @GTK_EXPANDER_EXPANDED: The style used for an expanded subtree.
+ *
+ * Used to specify the style of the expanders drawn by a #GtkTreeView.
+ */
+typedef enum
+{
+  GTK_EXPANDER_COLLAPSED,
+  GTK_EXPANDER_SEMI_COLLAPSED,
+  GTK_EXPANDER_SEMI_EXPANDED,
+  GTK_EXPANDER_EXPANDED
+} GtkExpanderStyle;
+
 /**
  * GTK_STYLE_ATTACHED:
  * @style: a #GtkStyle.
index 03aa5f75566c85f720bc8076303bfc7a4072c5ab..2787f2c0404739e8b79f5f4fbab80d320dd2cc44 100644 (file)
@@ -173,23 +173,6 @@ typedef enum
   GTK_DIR_RIGHT
 } GtkDirectionType;
 
-/**
- * GtkExpanderStyle:
- * @GTK_EXPANDER_COLLAPSED: The style used for a collapsed subtree.
- * @GTK_EXPANDER_SEMI_COLLAPSED: Intermediate style used during animation.
- * @GTK_EXPANDER_SEMI_EXPANDED: Intermediate style used during animation.
- * @GTK_EXPANDER_EXPANDED: The style used for an expanded subtree.
- *
- * Used to specify the style of the expanders drawn by a #GtkTreeView.
- */
-typedef enum
-{
-  GTK_EXPANDER_COLLAPSED,
-  GTK_EXPANDER_SEMI_COLLAPSED,
-  GTK_EXPANDER_SEMI_EXPANDED,
-  GTK_EXPANDER_EXPANDED
-} GtkExpanderStyle;
-
 /**
  * GtkIconSize:
  * @GTK_ICON_SIZE_INVALID: Invalid size.